package com.asjy.controller;

import java.util.regex.Pattern;

/**
 * @Auther: lilinlin
 * @Date: 2021/4/6
 * @Description: com.asjy.controller
 * @version: 1.0
 */
public class TestReg {
    public static void main(String[] args) {
        String content = "13111111111";

        String pattern = "1[358][0-9]{9}";
        boolean isMatch = Pattern.matches(pattern, content);
        System.out.println(isMatch);
    }
}